﻿using System.Windows;

namespace WpfApp1;

public partial class TextWindow: Window
{
    public TextWindow()
    {
        InitializeComponent();
    }

    private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
    {
        TextBox.Text = "通过事件赋新值";
    }
}